<template>
    <div class="content">
        <div class="btn">
            <a href="#">Read More</a>
        </div>
        <div class="btn">
            <a href="#">Read More</a>
        </div>
        <div class="btn">
            <a href="#">Read More</a>
        </div>
        <a href="" class="button">Read More</a>
    </div>
</template>

<script>
export default {
    data() {
        return {};
    },
    methods: {},
};
</script>

<style scoped>
.content {
    display: grid;
    place-items: center;
    background: rebeccapurple;
    min-height: calc(100vh - 56px);
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 250px;
    height: 50px;
    position: relative;
}

.btn a {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 15px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 30px;
    padding: 10px;
    box-sizing: border-box;
    text-decoration: none;
    letter-spacing: 1px;
    overflow: hidden;
    z-index: 1;
    transition: 0.5s;
}

.btn:hover a {
    letter-spacing: 3px;
}

.btn a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(45deg) translate(0);
    filter: blur(0px);
    transition: 0.5s;
}

.btn:hover a::before {
    transform: skewX(45deg) translate(200px);
}

.btn::before {
    content: "";
    position: absolute;
    width: 30px;
    height: 10px;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%);
    border-radius: 10px;
    transition: 0.5s;
    /* transition-delay: 0.3s; */
}

.btn:hover::before {
    bottom: 0;
    height: 50%;
    width: 80%;
    border-radius: 30px;
}

.btn::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 10px;
    left: 50%;
    top: -5px;
    transform: translateX(-50%);
    border-radius: 10px;
    transition: 0.2s;
    /* transition-delay: 0.3s; */
}

.btn:hover::after {
    top: 0;
    height: 50%;
    width: 80%;
    border-radius: 30px;
}

.btn:nth-child(1)::before,
.btn:nth-child(1)::after {
    background: #ff1f71;
    box-shadow: 0 0 5px #ff1f71, 0 0 15px #ff1f71, 0 0 30px #ff1f71, 0 0 60px #ff1f71;
}
.btn:nth-child(2)::before,
.btn:nth-child(2)::after {
    background: #2db2ff;
    box-shadow: 0 0 5px #2db2ff, 0 0 15px #2db2ff, 0 0 30px #2db2ff, 0 0 60px #2db2ff;
}
.btn:nth-child(3)::before,
.btn:nth-child(3)::after {
    background: #1eff45;
    box-shadow: 0 0 5px #1eff45, 0 0 15px #1eff45, 0 0 30px #1eff45, 0 0 60px #1eff45;
}



.button {
    box-sizing: border-box;
    padding: 20px 50px;
    font-size: 24px;
    text-decoration: none;
    font-weight: 600;
    color: blue;
    border: 2px solid blue;
    border-radius: 100px;
    transition: 4s;
    position: relative;
    overflow: hidden;
    z-index: 100;
}
.button::after,
.button::before {
    content: "";
    position: absolute;
    top: -50px;
    width: 200%;
    aspect-ratio: 1;
    z-index: 1;
    border: none;
    border-radius: 40%;
    background: rgba(0, 0, 255, 0.25);
    transition: 4s;
}
.button::after {
    right: -80%;
    transform: translate3d(0, 150px, 0) rotate(-345deg);
}
.button::before {
    left: -80%;
    transform: translate3d(0, 150px, 0) rotate(390deg);
}
.button:hover,
.button:focus {
    color: white;
}
.button:hover::before,
.button:hover::after,
.button:focus::before,
.button:focus::after {
    transform: none;
    /* background-color: rgba(0, 0, 255, 0.75); */
}
</style>
